package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sys_user_dealer")
public class SysUserDealer {
    @Id
    private Integer id;

    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "dealer_id")
    private Integer dealerId;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return dealer_id
     */
    public Integer getDealerId() {
        return dealerId;
    }

    /**
     * @param dealerId
     */
    public void setDealerId(Integer dealerId) {
        this.dealerId = dealerId;
    }
}